package com.docman.domainmodel;

public class DocumentBean {

	
	
	private String title; //setted by uploader
	private String docName; //actual file name
	private String docPath;
	private String comment;
	private int docId;
	private int totalRating;
	private int ratingCount;
	private String tag;
	private String uploader;
	private java.sql.Date uploadDate;
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDocName() {
		return docName;
	}
	public void setDocName(String docName) {
		this.docName = docName;
	}
	public int getDocId() {
		return docId;
	}
	public void setDocId(int docId) {
		this.docId = docId;
	}
	public int getRating() {
		return totalRating;
	}
	public void setRating(int rating) {
		this.totalRating = rating;
	}
	/*
	public Tag getTag() {
		return tag;
	}
	public void setTag(Tag tag) {
		this.tag = tag;
	}
	*/
	public String getUploader() {
		return uploader;
	}
	public void setUploader(String uploader) {
		this.uploader = uploader;
	}
	
	public java.sql.Date getUploadDate() {
		return uploadDate;
	}
	public void setUploadDate(java.sql.Date uploadDate) {
		this.uploadDate = uploadDate;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public String getDocPath() {
		return docPath;
	}
	public void setDocPath(String docPath) {
		this.docPath = docPath;
	}
	public int getRatingCount() {
		return ratingCount;
	}
	public void setRatingCount(int ratingCount) {
		this.ratingCount = ratingCount;
	}
	public String toString() {
		return "DocumentBean [title=" + title + ", docName=" + docName
				+ ", docPath=" + docPath + ", comment=" + comment + ", docId="
				+ docId + ", totalRating=" + totalRating + ", ratingCount="
				+ ratingCount + ", tag=" + tag + ", uploader=" + uploader
				+ ", uploadDate=" + uploadDate + "]";
	}
	
	
	
}
